<html>
<head>
<meta charset="utf-8"></meta>
<title>BAudio</title>
<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
<body>
		<div class="class" name="BAudio">
<h1>BAudio</h1>
<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume"><a href="#desc">详细</a></p><h2>public</h2>
<div id="public">
<h3>enum Error</h3>
				<table class="enum">
					<tr><td>Error_None</td><td>desc</td></tr>
					<tr><td>Error_OpenFailed</td><td>desc</td></tr>
					<tr><td>ErroR_WriteFailed</td><td>desc</td></tr>
					<tr><td>Error_ReadFailed</td><td>desc</td></tr>
					<tr><td>Error_Max</td><td>desc</td></tr>
				</table>
			</div>
<h2>public</h2>
<table id="public">
<tr><td align="right"/><td><a href="#BAudio(const BString&)">BAudio</a>(const BString&amp; name = BString());</td></tr>
<tr><td align="right"/><td><a href="#~BAudio()">~BAudio</a>();</td></tr>
<tr><td align="right">bool </td><td><a href="#setFormat(Format)">setFormat</a>(Format format);</td></tr>
<tr><td align="right">Format </td><td><a href="#format() const">format</a>() const;</td></tr>
<tr><td align="right">bool </td><td><a href="#setSampleRate(int)">setSampleRate</a>(int samplerate);</td></tr>
<tr><td align="right">int </td><td><a href="#sampleRate() const">sampleRate</a>() const;</td></tr>
<tr><td align="right">bool </td><td><a href="#setChannelCount(int)">setChannelCount</a>(int channelCount);</td></tr>
<tr><td align="right">int </td><td><a href="#channelCount() const">channelCount</a>() const;</td></tr>
<tr><td align="right">void </td><td><a href="#setBytes(BByteArray*)">setBytes</a>(BByteArray* bytes);</td></tr>
<tr><td align="right">BByteArray* </td><td><a href="#bytes() const">bytes</a>() const;</td></tr>
<tr><td align="right">int </td><td><a href="#duration() const">duration</a>() const;</td></tr>
			</table>
<div id="desc">
<h2>详细介绍：</h2>
			</div>
<h2 id="docs">成员文档：</h2>
<div id="BAudio(const BString&)">
<h3>BAudio(const BString&amp; name = BString());</h3>
			</div>
<div id="~BAudio()">
<h3>~BAudio();</h3>
			</div>
<div id="setFormat(Format)">
<h3>bool setFormat(Format format);</h3>
			</div>
<div id="format() const">
<h3>Format format() const;</h3>
			</div>
<div id="setSampleRate(int)">
<h3>bool setSampleRate(int samplerate);</h3>
			</div>
<div id="sampleRate() const">
<h3>int sampleRate() const;</h3>
			</div>
<div id="setChannelCount(int)">
<h3>bool setChannelCount(int channelCount);</h3>
			</div>
<div id="channelCount() const">
<h3>int channelCount() const;</h3>
			</div>
<div id="setBytes(BByteArray*)">
<h3>void setBytes(BByteArray* bytes);</h3>
			</div>
<div id="bytes() const">
<h3>BByteArray* bytes() const;</h3>
			</div>
<div id="duration() const">
<h3>int duration() const;</h3>
			</div>
		</div>
	</body>
</html>